Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan suboptimal swapchain fixes #6355

Merged
merged 1 commit into from
Aug 16, 2019

Conversation

Plagman
Copy link
Contributor

@Plagman Plagman commented Aug 16, 2019

No description provided.

rpcs3/main.cpp Outdated Show resolved Hide resolved
…swapchain

vkAcquireNextImageKHR can also return VK_SUBOPTIMAL_KHR and is non-fatal.

However, it's a good idea to still recreate the swap chain later to maintain
optimal presentation paths after temporary occlusion.
Copy link
Contributor

@kd-11 kd-11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just out of curiosity: Is there any driver on desktop that returns this code? I tested for a long time and never could make it happen.

@Plagman
Copy link
Contributor Author

Plagman commented Aug 16, 2019 via email

@kd-11
Copy link
Contributor

kd-11 commented Aug 16, 2019

That explains it then, I don't have a freesync monitor so I never saw it. I'll merge as a hotfix.

@kd-11 kd-11 merged commit 56011cb into RPCS3:master Aug 16, 2019
@Plagman
Copy link
Contributor Author

Plagman commented Aug 16, 2019

Apparently it isn't Freesync specific, just transitioning between pageflipping and not (and pageflipping is required for Freesync). So you wouldn't ever see it on a desktop with compositing enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants